package com.basis.handler.service;

import java.io.InputStream;
import javax.servlet.http.HttpServletRequest;

import org.codehaus.jettison.json.JSONObject;

import com.mes.data.EmesDataImport;

public abstract class DataImportInterface {
	public JSONObject importData(InputStream is, String fileName, HttpServletRequest request) throws Exception {
		return importData(is, fileName);
	}
	public JSONObject importData(InputStream is, String fileName) throws Exception {
		return null;
	}
	public abstract void setEmesDataImport(EmesDataImport dataImport);
}